Commit
0db41a3773e fixed the handling of horizontal scrollbars in
RTL locales, but accidentally applied the translation to *all*
scrollbars when handling handle drags and paging. Fix this by
limiting the mirroring to horizontal bars.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4458
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1910>
&page_size);
direction = clutter_actor_get_text_direction (CLUTTER_ACTOR (bar));
- if (direction == CLUTTER_TEXT_DIRECTION_RTL)
+ if (!priv->vertical && direction == CLUTTER_TEXT_DIRECTION_RTL)
pos = size - pos;
position = ((pos / size)
&tx, &ty);
direction = clutter_actor_get_text_direction (CLUTTER_ACTOR (self));
- if (direction == CLUTTER_TEXT_DIRECTION_RTL)
+ if (!priv->vertical && direction == CLUTTER_TEXT_DIRECTION_RTL)
page_increment *= -1;
if (priv->vertical)